<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	</head>
	<body>
		
		<?php
	$a = 3.14;
	$username = $_POST["username"];
	$userpass = $_POST["userpass"];
	
	//echo $username;
	//echo $userpass;
    if ($username == 'admin' && $userpass=="123456")
    {
    	?>
    	<script>
    		location="../../main/index.html";
    	</script>
    	
    	<?php
    }
    else{
    	?>
    	
    	<script>
    		alert("用户名或密码不正确");
    		location ="./login4.html";
    		</script>
    			
    		<?php
    }
    ?>
    
    
		
		
	</body>
	</html>
